Release 10.1A: OpenEdge Development:
Programming Interfaces
Reading input with control characters
You can use the
BINARYoption of theINPUTFROMstatement to read control characters. Input sources often contain control characters that affect the format or quantity of data that you receive. For example, a text file might contain NUL (“\0”) characters to terminate character strings. Without theBINARYoption, Progress ignores all input on a line after the first NUL character. TheBINARYoption allows you to read all the data in the file, including any NUL and other non-printable control characters without interpretation.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |